import 'core-js/modules/es.object.to-string';
import 'core-js/modules/es.promise';
import 'core-js/modules/web.timers';

/**
 *
 * */

import '../css/index.less';
import '../css/a.css';
import '../css/b.css';

function add(x, y) {
  return x + y;
} // 写一个eslint-disable-next-line注释，表示下一行eslint所有规则都失效（下一行不进行eslint检查）
// eslint-disable-next-line

console.log('add', add(2, 3));
const promist = new Promise((resolve) => {
  setTimeout(() => {
    console.log('加载了');
    resolve();
  }, 1000);
});
console.log('promist', promist);
